package cn.edu.hunau.oop.day06.demo;

/**
 * @author hb
 * @date 2025-08-11 17:00:36
 */
public class TestShop {
    
    public void test01(){
        Food food=new Food("包子");

        Pet pet=new Pet("中华田园犬");

        Shop<Food> foodShop = new Shop<>( );
        foodShop.setProduct(food);

        Shop<Pet> petShop = new Shop<>( );
        petShop.setProduct(pet);
    }
}
